# the minimum version of CMake.
cmake_minimum_required(VERSION 3.4.1)
project(myNpmLib)

set(NATIVERENDER_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR})

include_directories(${NATIVERENDER_ROOT_PATH}
                    ${NATIVERENDER_ROOT_PATH}/include)

set(JSBIND_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR})
set(CMAKE_MODULE_PATH ${JSBIND_ROOT_PATH})
find_package(JSBind REQUIRED)


add_library(sdk1 SHARED hello.cpp)
target_link_libraries(sdk1 PUBLIC JSBind::libjsbind)
